﻿using System;
using System.Collections.Generic;
using System.Text;
using VoteServices.VoteClass;

namespace VoteServices
{
    /// <summary>
    /// 用户服务
    /// </summary>
    public class UserService
    {
        public User GetUser(string Account,string Password)
        {
            return VoteData.users.Find(o => o.Account.Equals(Account) && o.Password.Equals(Password));
        }
    }
}
